package com.yunhe.tianhe.rentcars.dao.system;


import com.yunhe.tianhe.rentcars.entity.system.MemberLevel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberLevelDao {
    Long save(MemberLevel memberLevel);

    void delete(Long id);

    Long update(MemberLevel memberLevel);

    MemberLevel  findOne(Long id);

    List<MemberLevel> findList();

    Long pageCount();

    List<MemberLevel> findPageList(@Param("offset") Long offset, @Param("limit") Long limit,@Param("levelName")String levelName);
}
